package com.foolishbird.sdk.params.bean;

import android.os.Parcel;
import android.os.Parcelable;

import com.google.gson.annotations.SerializedName;

import java.io.Serializable;
import java.math.BigDecimal;

public class PayChannel implements Serializable {

    /**
     * 支付渠道类型ID
     */
    @SerializedName("payment_type")
    private int payType;

    /**
     * 支付渠道主题
     */
    @SerializedName("payment_name")
    private String title;

    /**
     * 支付渠道见到描述信息
     */
    @SerializedName("desc")
    private String description;

    /**
     * 支付渠道icon图标下载地址
     */
    @SerializedName("payment_icon")
    private String iconUrl;

    /**
     * 支付渠道icon图标下载地址
     */
    @SerializedName("payment_status")
    private String paymentStatus;

    /**
     * 支付渠道是否默认隐藏
     */
    @SerializedName("ishidden")
    private boolean isHidden;

    /**
     * 货币符号
     */
    @SerializedName("currency")
    private String currency;

    /**
     * 货币价格
     */
    @SerializedName("pay_amount")
    private BigDecimal currencyPrice;

    public PayType getPayTypeEnum() {
        return PayType.valueOf(payType);
    }

    public int getPayType() {
        return payType;
    }

    public void setPayType(int paymentType) {
        this.payType = paymentType;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getIconUrl() {
        return iconUrl;
    }

    public void setIconUrl(String iconUrl) {
        this.iconUrl = iconUrl;
    }

    public boolean isHidden() {
        return isHidden;
    }

    public void setHidden(boolean hidden) {
        isHidden = hidden;
    }

    public String getCurrency() {
        return currency;
    }

    public void setCurrency(String currency) {
        this.currency = currency;
    }

    public void setCurrencyPrice(BigDecimal currencyPrice) {
        this.currencyPrice = currencyPrice;
    }

    public BigDecimal getCurrencyPrice() {
        return currencyPrice;
    }

    public PayChannel() {
    }

    public String getPaymentStatus() {
        return paymentStatus;
    }

    public void setPaymentStatus(String paymentStatus) {
        this.paymentStatus = paymentStatus;
    }
}
